import request from "@/utils/request";

export function login(data) {
  return request({
    url: "https://lxw.nbblmc.cn/api/admin/user/loginB",
    method: "POST",
    data,
  });
}

export function getInfo() {
  return request({
    url: "https://lxw.nbblmc.cn/api/user/admin/info",
    method: "POST",
  });
}

export function logout() {
  return request({
    url: "/vue-admin-template/user/logout",
    method: "post",
  });
}
